﻿using System;

namespace SoftwareNinjas.BranchAndReviewTools.Core
{
    /// <summary>
    /// A generic exception to report errors with
    /// source control operations.
    /// </summary>
    public class SourceControlException: Exception
    {
        /// <summary>
        /// Creates a new <see cref="SourceControlException"/>
        /// instance wrapping the given
        /// <paramref name="message"/>.
        /// </summary>
        /// 
        /// <param name="message">
        /// The error message to wrap by the new
        /// <see cref="SourceControlException"/>.
        /// </param>
        public SourceControlException(string message)
            : base(message)
        {
        }
    }
}
